<template>
  <div class="">
    <my-header :showBack="true" :title="$t('lang.membershipInformation')"></my-header>
    <div>
      <van-cell-group>
        <!-- <van-cell title="修改个人信息"  :to="'/modifyMsg'" is-link /> -->
        <!-- <van-cell :title="$t('lang.register')" :to="'/myTeam'" is-link /> -->
        <van-cell :title="$t('lang.upgrade')" :to="'/MembershipUP'" is-link />
        <van-cell :title="$t('lang.DynamicMR')" :to="'/Dynamicmatc'" is-link />
      </van-cell-group>
    </div>
  </div>
</template>
<script>
import {Toast} from "vant";
import header from "@/components/header";
export default {
  name:"setting",
  components: {
    "my-header": header
  },
  data(){
    return{
      exitPopup:false
    }
  },
  created() {
    if (this.$route.fullPath.indexOf("?") != -1) {
      this.goBack();
    }
  },
  watch: {
    $route(val, oldval) {
      if (oldval.fullPath.indexOf("?") != -1) {
        if (this.exitPopup) {
          this.exitPopup = false;
        }
      }
    }
  },
  mounted(){
    
  },
  methods:{
    showExitPopup() {
      if (window.location.href.indexOf("?exitPopup") == -1) {
        window.location.href = window.location.href + "?exitPopup";
      }
      this.exitPopup = true;
    },
    exit() {
      localStorage.setItem("token", "");
      this.$router.replace("/login");
    },
  }

}
</script>
<style lang="less" scoped>
.userimg{
  display: flex;justify-content:space-between; align-items:center ;box-sizing: border-box;padding: 12px;
    i{color: #999;}
  }
.userimg_left{
  display: flex;align-items:center ;
  img{width: 50px;height: 50px;background: #eeeeee;border-radius: 50%;margin-right: 10px;}
}
.noStyleBtn{
  background:#fff;
  border:none !important;
  z-index:1;
  color:#26a2ff;
  height:2.5rem;
  margin-left:0.5rem;
  margin-right:0;
}

.distpicker-address-wrapper select{
  width:32%;
  font-size:0.8rem;
}
.city_details{
  width:100%;
  height:2rem;
}
.exit_popup {
  width: 90%;
  margin-bottom: 10px;
}

.exit_popup_box {
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
}
.exit_popup_box > div {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  font-size: 16px;
}
.exit_popup_box > span {
  display: block;
  background: #fff;
  border-radius: 5px;
  margin-top: 10px;
  color: #0279fc;
  font-weight: 550;
  padding: 15px 0;
}
.exit_popup_box > div span {
  padding: 15px 0;
  display: block;
}
.exit_popup_box > div span:first-child {
  font-size: 12px;
  color: #8f8f8f;
}
.exit_popup_box > div span:last-child {
  color: #f44;
  font-weight: 550;
}
</style>
